﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SIM.Geo.BE;
using SIM.Geo.BL;

namespace SIM.Geo.SE
{
    public class SETipoRelleno: ISETipoRelleno
    {
        #region ISETipoRelleno Members

        public List<TipoRelleno> ListarTipoRelleno()
        {
            try
            {
                return new BLTipoRelleno().ListarTipoRelleno();
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public int InsertarTipoRelleno(TipoRelleno tipoRelleno)
        {
            try
            {
                return new BLTipoRelleno().InsertarTipoRelleno(tipoRelleno);
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public void ModificarTipoRelleno(TipoRelleno tipoRelleno)
        {
            try
            {
                new BLTipoRelleno().ModificarTipoRelleno(tipoRelleno);
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public void EliminarTipoRelleno(TipoRelleno tipoRelleno)
        {
            try
            {
                new BLTipoRelleno().EliminarTipoRelleno(tipoRelleno);
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public List<TipoRelleno> BuscarTipoRelleno(string descripcion)
        {
            try
            {
                return new BLTipoRelleno().BuscarTipoRelleno(descripcion);
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public TipoRelleno ObtenerTipoRelleno(int codigoTipoRelleno)
        {
            try
            {
                return new BLTipoRelleno().ObtenerTipoRelleno(codigoTipoRelleno );
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        public List<ListItemInt> ObtenerListItem()
        {
            try
            {
                return new BLTipoRelleno().ObtenerListItem();
            }
            catch (Exception)
            {
                
                throw;
            }
        }

        #endregion
    }
}